home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
Projects
/
Tutorial Material
/
Basic Tutorial
/
mctest1
< prev
next >
Wrap
Lisp/Scheme
|
1998-10-26
|
515b
|
33 lines
; tutorial example 1 - mctest1
(setq symbols '(a b c d e f g))
(def-symbol
test1 symbols
test2 symbols
test3 symbols
test4 symbols
)
(def-length
default '1/16
)
(setq tonals (activate-tonality (chromatic c 6) (chromatic c 5)))
(def-channel
test1 1
test2 2
test3 3
test4 4
)
(compile-song-p "ccl;output:" 1/1 "test2"
; BARS |---|---|---|---|
changes tonals " ..."
test1 changes "- "
test2 changes " - "
test3 changes " - "
test4 changes " -"
)